package com.cxso.example.enums.wlpt;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.io.Serializable;


@Getter
@AllArgsConstructor
public enum PaymentStatusEnum implements Serializable {

    /**
     * 支付单支付状态
     */
    PAYMENT_WAIT(10, "待支付"),
    PAYMENT_ING(20, "支付中"),
    PAYMENT_SUCCESS(30, "支付成功"),
    PAYMENT_PART_SUCCESS(35, "部分成功"),
    PAYMENT_ERROR(40, "支付失败"),
    PAYMENT_RETURN(50, "支付撤回"),
    PAYMENT_REJECT(60, "支付驳回"),
    ;

    private final Integer code;
    private final String message;

}
